package cn.yuanqiao.manage.service;/**
 * @author 赵常飞
 * @date 2024/1/24 16:55
 */

import cn.yuanqiao.manage.domain.YqdaGdfwAndBgqx;
import cn.yuanqiao.manage.domain.YqdaGdfwAndBgqxRule;
import cn.yuanqiao.common.core.domain.TreeSelect;

import java.util.List;
import java.util.Map;

/**
 *@Author: 赵常飞
 *@Date: 2024/1/24 16:55
 *@Description:
 *@Note:
 */

public interface IGdfwAndBgqxService {
    List<TreeSelect> selectTreeList(Long categoryId);

    int addzd(YqdaGdfwAndBgqx gdfwAndBgqx);

    int editzd(YqdaGdfwAndBgqx gdfwAndBgqx);

    List<YqdaGdfwAndBgqx> gettable(Long ParentId,Long categoryId);

    int addtj(YqdaGdfwAndBgqxRule gdfwAndBgqx);

    int edittj(YqdaGdfwAndBgqxRule gdfwAndBgqx);

    List<Map<String,Object>> gettjtable(Long zdId,Integer type);

    String gettjsql(Long zdId,Integer type);

    YqdaGdfwAndBgqx getzd(Long zdid);

    int delete(Long tjid);
}
